KREDOR Business Object Framework Documentation

SelectFrom<T> Members

SelectFrom<T> overview

Public Static Properties

All Gets a SelectFrom`1 instance equivalent to SELECT TOP 100 PERCENT
One Gets a SelectFrom`1 instance equivalent to SELECT TOP 1
Distinct Gets a SelectFrom`1 instance equivalent to SELECT DISTINCT.

Public Static Methods

ByPrimaryKeyOverloaded. Returns the BusinessObject identified by the specified primary key value.
Percent Returns a SelectFrom`1 instance with the specified TOP PERCENT clause appended. Requires OrderBy(identityColumnName).
Top Returns a SelectFrom`1 instance specifying the number of rows (objects) to return. Requires OrderBy(identityColumnName).

Public Instance Constructors

SelectFrom<T> Constructor Initializes a new instance of the SelectFrom`1 class.

Public Instance Properties

Shallow Returns the current SelectFrom instance configured to load only the root object fields and properties, not the full object tree.

Public Instance Methods

AndOverloaded. Appends the specified criteria to the current SelectFrom`1 instance.
Count Returns the number of objects matched by the current SelectFrom`1 statement.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Exists Returns true or false indicating whether an object exists in the database matching the current SelectFrom`1 statement.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Join Appends the specified JOIN clause to the current SelectFrom`1 instance. Must be followed by On(...)
On Appends the specified ON clause to the current SelectFrom`1 instance. Must be preceded by Join(...)
OrOverloaded. Appends the specified criteria to the current SelectFrom`1 instance.
OrderByOverloaded. Appends the specified ORDER BY clause to the current SelectFrom`1 instance.
SelectOverloaded. Executes the current Select query SelectFrom`1 and returns a List`1 containing the matched objects matched by the current SelectFrom statement.
SelectOneOverloaded. Returns a BusinessObject matched by the current SelectFrom`1.
StoredProcedure Gets a SelectFrom instance configured to use the specified stored procedure arguments to select the objects from tha database.
Sum Returns the sum of the values in the specified column(property) of the objects matched by the current SelectFrom statement.
ToSqlScript Returns a stored procedure sql script corresponding to the current SelectFrom statement.
ToString (inherited from Object)Returns a String that represents the current Object.
WhereOverloaded. Appends the specified criteria to the current SelectFrom`1 instance.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

SelectFrom<T> Class | Kredor.BO Namespace | WhereCondition | OrderBy